﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C9F RID: 3231
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OJGHBHAIGMG : IMessage<OJGHBHAIGMG>, IMessage, IEquatable<OJGHBHAIGMG>, IDeepCloneable<OJGHBHAIGMG>, IBufferMessage
	{
		// Token: 0x170028A2 RID: 10402
		// (get) Token: 0x06009049 RID: 36937 RVA: 0x0017F0D5 File Offset: 0x0017D2D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OJGHBHAIGMG> Parser
		{
			get
			{
				return OJGHBHAIGMG._parser;
			}
		}

		// Token: 0x170028A3 RID: 10403
		// (get) Token: 0x0600904A RID: 36938 RVA: 0x0017F0DC File Offset: 0x0017D2DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OJGHBHAIGMGReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028A4 RID: 10404
		// (get) Token: 0x0600904B RID: 36939 RVA: 0x0017F0EE File Offset: 0x0017D2EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OJGHBHAIGMG.Descriptor;
			}
		}

		// Token: 0x0600904C RID: 36940 RVA: 0x0017F0F5 File Offset: 0x0017D2F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG()
		{
		}

		// Token: 0x0600904D RID: 36941 RVA: 0x0017F113 File Offset: 0x0017D313
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG(OJGHBHAIGMG other) : this()
		{
			this.trainPartyCardInfo_ = other.trainPartyCardInfo_.Clone();
			this.dDMGCOJOOCF_ = other.dDMGCOJOOCF_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600904E RID: 36942 RVA: 0x0017F14E File Offset: 0x0017D34E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG Clone()
		{
			return new OJGHBHAIGMG(this);
		}

		// Token: 0x170028A5 RID: 10405
		// (get) Token: 0x0600904F RID: 36943 RVA: 0x0017F156 File Offset: 0x0017D356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<HNDCCFEAGFD> TrainPartyCardInfo
		{
			get
			{
				return this.trainPartyCardInfo_;
			}
		}

		// Token: 0x170028A6 RID: 10406
		// (get) Token: 0x06009050 RID: 36944 RVA: 0x0017F15E File Offset: 0x0017D35E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DDMGCOJOOCF
		{
			get
			{
				return this.dDMGCOJOOCF_;
			}
		}

		// Token: 0x06009051 RID: 36945 RVA: 0x0017F166 File Offset: 0x0017D366
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OJGHBHAIGMG);
		}

		// Token: 0x06009052 RID: 36946 RVA: 0x0017F174 File Offset: 0x0017D374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OJGHBHAIGMG other)
		{
			return other != null && (other == this || (this.trainPartyCardInfo_.Equals(other.trainPartyCardInfo_) && this.dDMGCOJOOCF_.Equals(other.dDMGCOJOOCF_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009053 RID: 36947 RVA: 0x0017F1C8 File Offset: 0x0017D3C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.trainPartyCardInfo_.GetHashCode();
			num ^= this.dDMGCOJOOCF_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009054 RID: 36948 RVA: 0x0017F20A File Offset: 0x0017D40A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009055 RID: 36949 RVA: 0x0017F212 File Offset: 0x0017D412
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009056 RID: 36950 RVA: 0x0017F21B File Offset: 0x0017D41B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.dDMGCOJOOCF_.WriteTo(ref output, OJGHBHAIGMG._repeated_dDMGCOJOOCF_codec);
			this.trainPartyCardInfo_.WriteTo(ref output, OJGHBHAIGMG._repeated_trainPartyCardInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009057 RID: 36951 RVA: 0x0017F254 File Offset: 0x0017D454
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.trainPartyCardInfo_.CalculateSize(OJGHBHAIGMG._repeated_trainPartyCardInfo_codec);
			num += this.dDMGCOJOOCF_.CalculateSize(OJGHBHAIGMG._repeated_dDMGCOJOOCF_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009058 RID: 36952 RVA: 0x0017F2A0 File Offset: 0x0017D4A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OJGHBHAIGMG other)
		{
			if (other == null)
			{
				return;
			}
			this.trainPartyCardInfo_.Add(other.trainPartyCardInfo_);
			this.dDMGCOJOOCF_.Add(other.dDMGCOJOOCF_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009059 RID: 36953 RVA: 0x0017F2DF File Offset: 0x0017D4DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600905A RID: 36954 RVA: 0x0017F2E8 File Offset: 0x0017D4E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U && num != 18U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.trainPartyCardInfo_.AddEntriesFrom(ref input, OJGHBHAIGMG._repeated_trainPartyCardInfo_codec);
					}
				}
				else
				{
					this.dDMGCOJOOCF_.AddEntriesFrom(ref input, OJGHBHAIGMG._repeated_dDMGCOJOOCF_codec);
				}
			}
		}

		// Token: 0x04003703 RID: 14083
		private static readonly MessageParser<OJGHBHAIGMG> _parser = new MessageParser<OJGHBHAIGMG>(() => new OJGHBHAIGMG());

		// Token: 0x04003704 RID: 14084
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003705 RID: 14085
		public const int TrainPartyCardInfoFieldNumber = 13;

		// Token: 0x04003706 RID: 14086
		private static readonly FieldCodec<HNDCCFEAGFD> _repeated_trainPartyCardInfo_codec = FieldCodec.ForMessage<HNDCCFEAGFD>(106U, HNDCCFEAGFD.Parser);

		// Token: 0x04003707 RID: 14087
		private readonly RepeatedField<HNDCCFEAGFD> trainPartyCardInfo_ = new RepeatedField<HNDCCFEAGFD>();

		// Token: 0x04003708 RID: 14088
		public const int DDMGCOJOOCFFieldNumber = 2;

		// Token: 0x04003709 RID: 14089
		private static readonly FieldCodec<uint> _repeated_dDMGCOJOOCF_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x0400370A RID: 14090
		private readonly RepeatedField<uint> dDMGCOJOOCF_ = new RepeatedField<uint>();
	}
}
